using System;
using System.Collections.Generic;

namespace RestNews.Data.Models
{
    public class User
    {
        public User()
        {
            this.People = new List<Person>();
            this.Roles = new List<Role>();
        }

        public long Id { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public virtual ICollection<Person> People { get; set; }
        public virtual ICollection<Role> Roles { get; set; }
    }
}
